﻿@{
    ViewBag.Title = (Model.Id > 0 ? "修改" : "添加") + "tb_role";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

	<form id="editForm" name="editForm" method="post" action="/Role/Save/@if(Model.Id > 0){ Write(Model.Id.ToString()); }">
	<div id="panelBar">
		<ul class="toolBar">
			<li><input class="submit" type="submit" value="保存" /></li>
			<li><a class="back" href="javascript:void(0)"><span>返回</span></a></li>
		</ul>
	</div>
	<div id="edit">
		<ul>
            <li> 
				<span class="label">RoleCode：</span>
                <span class="required">
                    <input id="RoleCode" name="RoleCode" type="text" value="@Model.RoleCode" required="required" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">RoleName：</span>
                <span class="required">
                    <input id="RoleName" name="RoleName" type="text" value="@Model.RoleName" required="required" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">RoleDescription：</span>
                <span class="required">
                    <input id="RoleDescription" name="RoleDescription" type="text" value="@Model.RoleDescription" required="required" title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">CreateBy：</span>
                <span >
                    <input id="CreateBy" name="CreateBy" type="text" value="@Model.CreateBy"  title="请输入" /> 
                </span>
			</li> 
            <li> 
				<span class="label">UpdateBy：</span>
                <span >
                    <input id="UpdateBy" name="UpdateBy" type="text" value="@Model.UpdateBy"  title="请输入" /> 
                </span>
			</li> 
		</ul>
	</div>
	</form>
